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 30, 2023
1 parent 1a6f070 commit 72700e7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
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
6 changes: 3 additions & 3 deletions src/cobalt_strike.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: Install Cobalt Strike
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Install OpenJDK
Expand Down Expand Up @@ -56,7 +56,7 @@
assessment_tool_archive_src: "https://github.com/killswitch-GUI/\
CobaltStrike-Toolkit/tarball/master"
assessment_tool_install_dir: /tools/CobaltStrike-Toolkit
assessment_tool_powershell: yes
assessment_tool_powershell: true
assessment_tool_unarchive_extra_opts:
- --strip-components=1
- name: Install Malleable-C2-Profiles
Expand All @@ -82,7 +82,7 @@
name: assessment_tool
vars:
assessment_tool_archive_src: https://github.com/Tylous/SourcePoint/tarball/main
assessment_tool_go: yes
assessment_tool_go: true
assessment_tool_install_dir: /tools/SourcePoint
assessment_tool_unarchive_extra_opts:
- --strip-components=1
2 changes: 1 addition & 1 deletion src/ufw.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: Install and configure UFW
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Install UFW
Expand Down
6 changes: 3 additions & 3 deletions src/vnc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: Install VNC and configure VNC user
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Install VNC
Expand Down Expand Up @@ -36,15 +36,15 @@
mode: 0444
- name: Add VNC user to wheel group
ansible.builtin.user:
append: yes
append: true
groups:
- wheel
name: "{{ vnc_server_username }}"
# These environment variables were asked for in
# cisagov/cool-system#212
- name: Add PCA-specific environment variables
ansible.builtin.lineinfile:
create: yes
create: true
group: "{{ vnc_server_username }}"
line: "{{ item }}"
mode: 0644
Expand Down
2 changes: 1 addition & 1 deletion src/xfce.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- hosts: all
name: Install Xfce
become: yes
become: true
become_method: ansible.builtin.sudo
tasks:
- name: Install Xfce for the COOL
Expand Down

0 comments on commit 72700e7

Please sign in to comment.