Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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