Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eternaltyro/ansible-playbooks
(Mirror) Ansible playbooks for my workstation - Mirrored from Gitlab
https://github.com/eternaltyro/ansible-playbooks
ansible ansible-playbook linux
Last synced: about 2 months ago
JSON representation
(Mirror) Ansible playbooks for my workstation - Mirrored from Gitlab
- Host: GitHub
- URL: https://github.com/eternaltyro/ansible-playbooks
- Owner: eternaltyro
- Created: 2024-08-08T15:12:40.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-09-08T20:24:40.000Z (4 months ago)
- Last Synced: 2024-09-08T21:39:39.400Z (4 months ago)
- Topics: ansible, ansible-playbook, linux
- Language: Jinja
- Homepage: https://gitlab.com/eternaltyro/ansible-playbooks
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: security_scans.yml
Awesome Lists containing this project
README
# Running
- Install missing collections
```
$ ansible-galaxy collection install ansible.posix
```- Run the playbook
```
ansible-playbook --ask-become-pass --check --tags onetime \
--inventory inventory.ini archall.yml
```## Force handlers
Handlers run at the end of the play. They do not run if the play itself
fails. Handlers can be forced to run even if the play fails to run by
using `--force-handlers` when invoking ansible-playbook.If we want the handlers to run immediately after a task, we can use the
`flush_handlers` meta task to force it to run.## Deliberately failing
add `- fail:` task
# Testing
## Linting
- Ansible lint using `ansible-lint archall.yml`
- Add in-line exceptions using `# noqa: `## Unit testing
- TBD
## TODO:
- DNS over TLS in systemd-resolved
- Networkmanager uses systemd-resolved