CSC Ansible Playbooks
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Edwin Zhang a15478e5a8 Add update ssh_known_hosts playbook 5 months ago
.config ceo upgrade playbook 8 months ago
files known_hosts update 5 months ago
fingerprints known_hosts update 5 months ago
old_install Archive install playbooks 8 months ago
plugins/callback/log_plays Initial commit 7 years ago
roles Remove old playbooks 8 months ago
.gitignore Ignore venv 8 months ago
.gitmodules Remove generate-hosts and ignore it 7 years ago
README Add update ssh_known_hosts playbook 5 months ago
ansible.cfg test-playbook works 8 months ago
bootstrap-packages.sh created roles for office terminal install, tested up to auth 7 years ago
disable-login.yml Group variable fix 8 months ago
enable-login.yml Group variable fix 8 months ago
fix-ssh-perms.yml Some minor fixes and new scripts 7 years ago
gather-ssh-fingerprints.yml gather ssh fingerprints 8 months ago
generate-fingerprints A whole bunch of random playbooks I put together / used 7 years ago
install-software.yml Add software install playbook 5 months ago
inventory.yaml ceo upgrade playbook 8 months ago
mount-scratch.yml A whole bunch of random playbooks I put together / used 7 years ago
mount-users.yml A whole bunch of random playbooks I put together / used 7 years ago
resolv.yml Stuff that I haven't committed yet 6 years ago
run-container.yml Configure NTP 6 years ago
run-core.yml Configure NTP 6 years ago
test-playbook.yml test-playbook works 8 months ago
unmount-nfs.yml A whole bunch of random playbooks I put together / used 7 years ago
update-rootdotfiles.yml Add root dotfiles and update-rootdotfiles playbook (which will need to be integrated into standard build 6 years ago
update-ssh_known_hosts.yml Add update ssh_known_hosts playbook 5 months ago
upgrade-ceo.yml ceo should only be on general_use and office 5 months ago
upgrade-office.yml Workaround lightdm bug 7 years ago
upgrade.yml Stuff that I haven't committed yet 6 years ago

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'`