Skip to content

Commit

Permalink
Prefer true to yes in YAML files
Browse files Browse the repository at this point in the history
  • Loading branch information
jsf9k committed Oct 27, 2023
1 parent b6543d9 commit c9473de
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/automated-security-updates.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: Configure for automated security updates
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Set up automated security updates
Expand Down
2 changes: 1 addition & 1 deletion src/cdm.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: Configure for the CISA CDM environment
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Install CDM Tanium client
Expand Down
4 changes: 2 additions & 2 deletions src/cloud_init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
# we may as well enable the others while we're at it.
- hosts: all
name: Enable all cloud-init services
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Enable all cloud-init services
ansible.builtin.service:
name: "{{ item }}"
enabled: yes
enabled: true
loop:
- cloud-init-local
- cloud-init
Expand Down
2 changes: 1 addition & 1 deletion src/freeipa.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: Install FreeIPA server
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Install FreeIPA server
Expand Down
2 changes: 1 addition & 1 deletion src/harden.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: Hardening tasks
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Harden system
Expand Down
2 changes: 1 addition & 1 deletion src/ufw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
proto: tcp
- port: domain
proto: udp
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Install UFW
Expand Down

0 comments on commit c9473de

Please sign in to comment.