aboutsummaryrefslogtreecommitdiff
path: root/roles/attackbox
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-05-26 09:01:56 +0300
committerheqnx <root@heqnx.com>2025-05-26 09:01:56 +0300
commitf0386e1619ca5fe768972c2d835f998f5f6fed39 (patch)
tree39b1b1e207c3c9c51ba826224b8b74f7ebcbdb9d /roles/attackbox
parenta529d1f47572e240118c453d87f06ddde1232e65 (diff)
downloadansible-playbooks-f0386e1619ca5fe768972c2d835f998f5f6fed39.tar.gz
ansible-playbooks-f0386e1619ca5fe768972c2d835f998f5f6fed39.zip
standardized booleans
Diffstat (limited to 'roles/attackbox')
-rw-r--r--roles/attackbox/tasks/apt_packages.yaml2
-rw-r--r--roles/attackbox/tasks/chrome_install.yaml2
-rw-r--r--roles/attackbox/tasks/github_repos.yaml4
-rw-r--r--roles/attackbox/tasks/golang_install.yaml2
4 files changed, 5 insertions, 5 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: