diff options
-rw-r--r-- | roles/attackbox/tasks/apt_packages.yaml | 2 | ||||
-rw-r--r-- | roles/attackbox/tasks/chrome_install.yaml | 2 | ||||
-rw-r--r-- | roles/attackbox/tasks/github_repos.yaml | 4 | ||||
-rw-r--r-- | roles/attackbox/tasks/golang_install.yaml | 2 | ||||
-rw-r--r-- | roles/harden/tasks/harden.yaml | 4 | ||||
-rw-r--r-- | roles/sliver-c2/tasks/apt_install.yaml | 2 | ||||
-rw-r--r-- | roles/sliver-c2/tasks/golang_install.yaml | 2 | ||||
-rw-r--r-- | roles/ssh-port-fwd-user/tasks/main.yaml | 6 | ||||
-rw-r--r-- | roles/tor/tasks/tor_install.yaml | 4 | ||||
-rw-r--r-- | roles/xrdp/tasks/main.yaml | 4 |
10 files changed, 16 insertions, 16 deletions
diff --git a/roles/attackbox/tasks/apt_packages.yaml b/roles/attackbox/tasks/apt_packages.yaml index 4ed8331..8910e04 100644 --- a/roles/attackbox/tasks/apt_packages.yaml +++ b/roles/attackbox/tasks/apt_packages.yaml @@ -2,4 +2,4 @@ apt: name: "{{ apt_packages }}" state: present - update_cache: yes + update_cache: true
\ No newline at end of file diff --git a/roles/attackbox/tasks/chrome_install.yaml b/roles/attackbox/tasks/chrome_install.yaml index 4b9bf4f..a237b81 100644 --- a/roles/attackbox/tasks/chrome_install.yaml +++ b/roles/attackbox/tasks/chrome_install.yaml @@ -15,7 +15,7 @@ - name: update apt cache apt: - update_cache: yes + update_cache: true - name: install google chrome apt: diff --git a/roles/attackbox/tasks/github_repos.yaml b/roles/attackbox/tasks/github_repos.yaml index 042ea6c..e98252e 100644 --- a/roles/attackbox/tasks/github_repos.yaml +++ b/roles/attackbox/tasks/github_repos.yaml @@ -10,6 +10,6 @@ ansible.builtin.git: repo: "{{ item }}" dest: "/opt/tools/{{ item | basename | regex_replace('\\.git$', '') }}" - update: yes - force: yes + update: true + force: true loop: "{{ github_repos }}" diff --git a/roles/attackbox/tasks/golang_install.yaml b/roles/attackbox/tasks/golang_install.yaml index e67d508..a359bde 100644 --- a/roles/attackbox/tasks/golang_install.yaml +++ b/roles/attackbox/tasks/golang_install.yaml @@ -15,7 +15,7 @@ unarchive: src: /tmp/golang.tar.gz dest: /usr/local - remote_src: yes + remote_src: true - name: remove tarball file: diff --git a/roles/harden/tasks/harden.yaml b/roles/harden/tasks/harden.yaml index cf60e95..fe1807a 100644 --- a/roles/harden/tasks/harden.yaml +++ b/roles/harden/tasks/harden.yaml @@ -8,7 +8,7 @@ - name: clean apt cache apt: - autoclean: yes + autoclean: true - name: clear /etc/issue and /etc/motd copy: @@ -60,7 +60,7 @@ copy: src: /etc/ssh/sshd_config dest: "/etc/ssh/sshd_config.bak_{{ ansible_date_time.iso8601_basic }}" - remote_src: yes + remote_src: true - name: harden sshd_config copy: diff --git a/roles/sliver-c2/tasks/apt_install.yaml b/roles/sliver-c2/tasks/apt_install.yaml index 4004daf..8910e04 100644 --- a/roles/sliver-c2/tasks/apt_install.yaml +++ b/roles/sliver-c2/tasks/apt_install.yaml @@ -2,4 +2,4 @@ apt: name: "{{ apt_packages }}" state: present - update_cache: yes
\ No newline at end of file + update_cache: true
\ No newline at end of file diff --git a/roles/sliver-c2/tasks/golang_install.yaml b/roles/sliver-c2/tasks/golang_install.yaml index e67d508..a359bde 100644 --- a/roles/sliver-c2/tasks/golang_install.yaml +++ b/roles/sliver-c2/tasks/golang_install.yaml @@ -15,7 +15,7 @@ unarchive: src: /tmp/golang.tar.gz dest: /usr/local - remote_src: yes + remote_src: true - name: remove tarball file: diff --git a/roles/ssh-port-fwd-user/tasks/main.yaml b/roles/ssh-port-fwd-user/tasks/main.yaml index 8975cdb..85d7a97 100644 --- a/roles/ssh-port-fwd-user/tasks/main.yaml +++ b/roles/ssh-port-fwd-user/tasks/main.yaml @@ -12,7 +12,7 @@ user: name: "{{ port_fwd_user }}" shell: "{{ port_fwd_shell }}" - create_home: yes + create_home: true password: '*' state: present @@ -42,7 +42,7 @@ copy: src: "{{ ssh_key_dir }}/id_ed25519.pub" dest: "{{ ssh_key_dir }}/authorized_keys" - remote_src: yes + remote_src: true owner: "{{ port_fwd_user }}" group: "{{ port_fwd_user }}" mode: '0600' @@ -79,5 +79,5 @@ src: "{{ ssh_key_dir }}/id_ed25519" dest: "./{{ inventory_hostname }}_{{ port_fwd_user }}_id_ed25519" flat: true - fail_on_missing: yes + fail_on_missing: true mode: '0600' diff --git a/roles/tor/tasks/tor_install.yaml b/roles/tor/tasks/tor_install.yaml index e0f6d1d..8b3d725 100644 --- a/roles/tor/tasks/tor_install.yaml +++ b/roles/tor/tasks/tor_install.yaml @@ -7,7 +7,7 @@ - proxychains - curl state: present - update_cache: yes + update_cache: true - name: check if /etc/tor/torrc exists stat: @@ -18,7 +18,7 @@ copy: src: /etc/tor/torrc dest: /etc/tor/torrc.bak - remote_src: yes + remote_src: true force: no when: - torrc_stat.stat.exists diff --git a/roles/xrdp/tasks/main.yaml b/roles/xrdp/tasks/main.yaml index ff0d355..ed95fbb 100644 --- a/roles/xrdp/tasks/main.yaml +++ b/roles/xrdp/tasks/main.yaml @@ -6,7 +6,7 @@ - tigervnc-xorg-extension - tigervnc-standalone-server state: present - update_cache: yes + update_cache: true - name: configure polkit rules for xrdp sessions copy: @@ -45,7 +45,7 @@ copy: src: /etc/xrdp/sesman.ini dest: /etc/xrdp/sesman.ini.bak - remote_src: yes + remote_src: true - name: disable root login in sesman.ini lineinfile: |