Cleanup!
parent
10c5ded088
commit
341b15b7f0
21
README.md
21
README.md
|
@ -1,22 +1,9 @@
|
||||||
# ansible
|
# ansible
|
||||||
|
|
||||||
Currently Ansible configurations for `ataraxia`, although if this goes well I'll bring it to Tycho/future devices. Please don't use :/
|
Currently Ansible configurations for `ataraxia`, although if this goes well I'll bring it to Tycho/future devices. Please don't use :/ I may merge these into my [dotfiles repo](https://git.earne.link/earnestma/dotfiles).
|
||||||
|
|
||||||
## Start
|
## Start
|
||||||
|
|
||||||
`sudo dnf install -y ansible`
|
- `sudo dnf install -y ansible`
|
||||||
|
- Execute main: `ansible-playbook run.yml -K`
|
||||||
- inventory: hosts file
|
- Development: `git config core.hooksPath .git-hooks`
|
||||||
- tasks: what playbook is going to do
|
|
||||||
- variables
|
|
||||||
- group_vars: groups of hosts
|
|
||||||
- host_vars: individual hosts
|
|
||||||
- `ansible-vault create/edit secret.yml`
|
|
||||||
- playbook: list of all tasks/roles Ansible must execute
|
|
||||||
- execute: `ansible-playbook run.yml -K --ask-vault-pass`
|
|
||||||
|
|
||||||
## S
|
|
||||||
|
|
||||||
```bash
|
|
||||||
ansible-galaxy collection install ansible.posix
|
|
||||||
```
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
|
|
||||||
- name: Install essential packages
|
|
||||||
package:
|
|
||||||
name: "{{ packages }}"
|
|
||||||
state: latest
|
|
||||||
|
|
||||||
# extra conf
|
|
||||||
- include: hosts/{{ ansible_hostname }}.yaml
|
|
|
@ -1 +0,0 @@
|
||||||
use_zoom: true
|
|
Loading…
Reference in New Issue