disable facts gathering

This commit is contained in:
Gabriel Augendre 2024-10-10 23:55:47 +02:00
parent bfce950fda
commit 1c3ff6105e
7 changed files with 7 additions and 1 deletions

View file

@ -1,6 +1,7 @@
---
- name: Update caddy config
hosts: servers
gather_facts: false
become: true
tasks:
- name: Write Caddyfile

View file

@ -1,6 +1,7 @@
---
- name: Goatcounter
hosts: servers
gather_facts: false
tasks:
- name: Get latest release
community.general.github_release:

View file

@ -1,6 +1,7 @@
---
- name: Lyon-transports
hosts: servers
gather_facts: false
tasks:
- name: Write service file
become: true
@ -13,7 +14,6 @@
notify:
- Reload daemon
- Restart service
when: ansible_os_family != "" # <- Compares with an empty string.
- name: Flush handlers
ansible.builtin.meta: flush_handlers
- name: Ensure service is running

View file

@ -1,6 +1,7 @@
---
- name: Clean ansible venv
hosts: servers
gather_facts: false
tasks:
- name: Remove virtualenv
ansible.builtin.file:

View file

@ -1,6 +1,7 @@
---
- name: Setup ansible python dependencies
hosts: servers
gather_facts: false
tasks:
- name: Install system deps
become: true

View file

@ -1,6 +1,7 @@
---
- name: Setup caddy
hosts: servers
gather_facts: false
become: true
tasks:
- name: Install system deps

View file

@ -1,6 +1,7 @@
---
- name: Update system
hosts: servers
gather_facts: false
become: true
tasks:
- name: Update packages