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.
|
5 months ago | |
---|---|---|
.config | 8 months ago | |
files | 5 months ago | |
fingerprints | 5 months ago | |
old_install | 8 months ago | |
plugins/callback/log_plays | 7 years ago | |
roles | 8 months ago | |
.gitignore | 8 months ago | |
.gitmodules | 7 years ago | |
README | 5 months ago | |
ansible.cfg | 8 months ago | |
bootstrap-packages.sh | 7 years ago | |
disable-login.yml | 8 months ago | |
enable-login.yml | 8 months ago | |
fix-ssh-perms.yml | 7 years ago | |
gather-ssh-fingerprints.yml | 8 months ago | |
generate-fingerprints | 7 years ago | |
install-software.yml | 5 months ago | |
inventory.yaml | 8 months ago | |
mount-scratch.yml | 7 years ago | |
mount-users.yml | 7 years ago | |
resolv.yml | 6 years ago | |
run-container.yml | 6 years ago | |
run-core.yml | 6 years ago | |
test-playbook.yml | 8 months ago | |
unmount-nfs.yml | 7 years ago | |
update-rootdotfiles.yml | 6 years ago | |
update-ssh_known_hosts.yml | 5 months ago | |
upgrade-ceo.yml | 5 months ago | |
upgrade-office.yml | 7 years ago | |
upgrade.yml | 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'`