CSC Ansible Playbooks
Go to file
Edwin Zhang a15478e5a8 Add update ssh_known_hosts playbook 2022-11-05 22:49:21 -04:00
.config ceo upgrade playbook 2022-08-06 01:19:37 -04:00
files known_hosts update 2022-11-05 22:19:27 -04:00
fingerprints known_hosts update 2022-11-05 22:19:27 -04:00
old_install Archive install playbooks 2022-07-31 08:38:08 -04:00
plugins/callback/log_plays Initial commit 2015-12-08 00:23:27 -05:00
roles Remove old playbooks 2022-07-31 08:38:08 -04:00
.gitignore Ignore venv 2022-07-16 23:02:58 -04:00
.gitmodules Remove generate-hosts and ignore it 2016-07-05 20:53:53 -04:00
README Add update ssh_known_hosts playbook 2022-11-05 22:49:21 -04:00
ansible.cfg test-playbook works 2022-07-31 08:38:08 -04:00
bootstrap-packages.sh created roles for office terminal install, tested up to auth 2016-06-02 00:47:31 -04:00
disable-login.yml Group variable fix 2022-07-31 08:38:08 -04:00
enable-login.yml Group variable fix 2022-07-31 08:38:08 -04:00
fix-ssh-perms.yml Some minor fixes and new scripts 2016-08-06 14:54:14 -04:00
gather-ssh-fingerprints.yml gather ssh fingerprints 2022-07-31 08:38:08 -04:00
generate-fingerprints A whole bunch of random playbooks I put together / used 2016-02-29 17:22:45 -05:00
install-software.yml Add software install playbook 2022-11-05 22:19:27 -04:00
inventory.yaml ceo upgrade playbook 2022-08-06 01:19:37 -04:00
mount-scratch.yml A whole bunch of random playbooks I put together / used 2016-02-29 17:22:45 -05:00
mount-users.yml A whole bunch of random playbooks I put together / used 2016-02-29 17:22:45 -05:00
resolv.yml Stuff that I haven't committed yet 2017-08-08 16:45:37 -04:00
run-container.yml Configure NTP 2016-12-11 12:05:48 -05:00
run-core.yml Configure NTP 2016-12-11 12:05:48 -05:00
test-playbook.yml test-playbook works 2022-07-31 08:38:08 -04:00
unmount-nfs.yml A whole bunch of random playbooks I put together / used 2016-02-29 17:22:45 -05:00
update-rootdotfiles.yml Add root dotfiles and update-rootdotfiles playbook (which will need to be integrated into standard build 2016-11-26 01:27:43 -05:00
update-ssh_known_hosts.yml Add update ssh_known_hosts playbook 2022-11-05 22:49:21 -04:00
upgrade-ceo.yml ceo should only be on general_use and office 2022-11-05 22:19:27 -04:00
upgrade-office.yml Workaround lightdm bug 2016-07-19 16:23:41 -04:00
upgrade.yml Stuff that I haven't committed yet 2017-08-08 16:45:37 -04:00

README

           ____ ____   ____      _              _ _     _
          / ___/ ___| / ___|    / \   _ __  ___(_) |__ | | ___
         | |   \___ \| |       / _ \ | '_ \/ __| | '_ \| |/ _ \
         | |___ ___) | |___   / ___ \| | | \__ \ | |_) | |  __/
          \____|____/ \____| /_/   \_\_| |_|___/_|_.__/|_|\___|

Ansible playbooks of the University of Waterloo Computer Science Club.

** 2022 Playbook Modernization **
If a playbook is not in this list, it is not guaranteed to work.
- [x] test-playbook.yml
- [x] gather-ssh-fingerprints.yml
- [x] update-ssh_known_hosts.yml
- [x] upgrade-ceo.yml
- [x] install-software.yml

** Deps **
1. Install pipx
    ```
    sudo apt install python3-pip python3-venv
    python3 -m pip install --user pipx
    python3 -m pipx ensurepath
    ```

2. Install ansible and ansible-lint
    ```
    pipx install --include-deps ansible
    pipx install ansible-lint
    ```

** Usage **
To run a playbook and request a user's sudo password:

`ansible-playbook test-playbook.yml`

** OLD **

To run a playbook as a different user (for example to provision a new system 
that doesn't have sssd yet):

`ansible-playbook -kK -b -u local_sysadmin test-playbook.yml`

To run a playbook starting at a certain spot:

`ansible-playbook -kK -b install-office-terminal.yml --start-at-task='enable magic sysrq'`