Skip to content

Commit

Permalink
Prefer true/false to yes/no for Ansible booleans
Browse files Browse the repository at this point in the history
This aligns the Ansible configuration with the changes made in
cisagov/skeleton-ansible-role#157.
  • Loading branch information
mcdonnnj committed Oct 24, 2023
1 parent 1db7320 commit 56900d9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/aws.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: AWS-specific roles
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Install Amazon EFS utilities
Expand Down
2 changes: 1 addition & 1 deletion src/base.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: Setup base image
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Install and configure automated security updates
Expand Down
2 changes: 1 addition & 1 deletion src/example.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: Project-specific roles
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
# The cisagov/ansible-role-example Ansible role is just a no-op,
Expand Down
2 changes: 1 addition & 1 deletion src/python.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: Install pip3/python3 and remove pip2/python2
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
# If pip were to be installed first, then the OS _could_ pull
Expand Down
2 changes: 1 addition & 1 deletion src/upgrade.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: Upgrade base image
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Upgrade all packages
Expand Down

0 comments on commit 56900d9

Please sign in to comment.