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 f19a5fb2a8 ceo upgrade playbook 2 months ago
.config ceo upgrade playbook 2 months ago
files gather ssh fingerprints 2 months ago
fingerprints gather ssh fingerprints 2 months ago
old_install Archive install playbooks 2 months ago
plugins/callback/log_plays Initial commit 7 years ago
roles Remove old playbooks 2 months ago
.gitignore Ignore venv 2 months ago
.gitmodules Remove generate-hosts and ignore it 6 years ago
README ceo upgrade playbook 2 months ago
ansible.cfg test-playbook works 2 months ago
bootstrap-packages.sh created roles for office terminal install, tested up to auth 6 years ago
disable-login.yml Group variable fix 2 months ago
enable-login.yml Group variable fix 2 months ago
fix-ssh-perms.yml Some minor fixes and new scripts 6 years ago
gather-ssh-fingerprints.yml gather ssh fingerprints 2 months ago
generate-fingerprints A whole bunch of random playbooks I put together / used 7 years ago
inventory.yaml ceo upgrade playbook 2 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 5 years ago
run-container.yml Configure NTP 6 years ago
run-core.yml Configure NTP 6 years ago
test-playbook.yml test-playbook works 2 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 Update ssh_known_hosts 5 years ago
upgrade-ceo.yml ceo upgrade playbook 2 months ago
upgrade-office.yml Workaround lightdm bug 6 years ago
upgrade.yml Stuff that I haven't committed yet 5 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] upgrade-ceo.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'`