main
earnest ma 2022-01-26 17:59:05 -05:00
parent 10c5ded088
commit 341b15b7f0
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
3 changed files with 4 additions and 26 deletions

View File

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

View File

@ -1,8 +0,0 @@
- name: Install essential packages
package:
name: "{{ packages }}"
state: latest
# extra conf
- include: hosts/{{ ansible_hostname }}.yaml

View File

@ -1 +0,0 @@
use_zoom: true