aboutsummaryrefslogtreecommitdiffstats
path: root/roles/_workstation
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-12-17 18:03:39 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-12-17 18:29:39 +0100
commit9e16f39b59069e752bbd24f5408e39e8ac24ec79 (patch)
tree330100ffd054bd274bfe11426aa0ecd7f267d550 /roles/_workstation
parent83cfb7f2e072e63356acdc6640df849d78741813 (diff)
downloadrules-9e16f39b59069e752bbd24f5408e39e8ac24ec79.tar.gz
refactor(roles): force byte conversion by ansible
Diffstat (limited to 'roles/_workstation')
-rw-r--r--roles/_workstation/apm/tasks/main.yml4
-rw-r--r--roles/_workstation/doas/tasks/main.yml2
-rw-r--r--roles/_workstation/dockerd/tasks/main.yml4
-rw-r--r--roles/_workstation/hosts/tasks/main.yml2
-rw-r--r--roles/_workstation/kernel/tasks/main.yml2
-rw-r--r--roles/_workstation/wscons/tasks/main.yml2
-rw-r--r--roles/_workstation/xorg/tasks/main.yml4
7 files changed, 10 insertions, 10 deletions
diff --git a/roles/_workstation/apm/tasks/main.yml b/roles/_workstation/apm/tasks/main.yml
index 72c5d2a..f2f9ebf 100644
--- a/roles/_workstation/apm/tasks/main.yml
+++ b/roles/_workstation/apm/tasks/main.yml
@@ -6,13 +6,13 @@
state: directory
owner: 0
group: 0
- mode: 0755
+ mode: "0755"
- name: copy apm configurations
ansible.builtin.copy:
src: "{{ item }}"
dest: "{{ apm_configuration_dir }}/{{ item }}"
- mode: 0755
+ mode: "0755"
owner: 0
group: 0
loop:
diff --git a/roles/_workstation/doas/tasks/main.yml b/roles/_workstation/doas/tasks/main.yml
index be61f74..4f22fe5 100644
--- a/roles/_workstation/doas/tasks/main.yml
+++ b/roles/_workstation/doas/tasks/main.yml
@@ -6,7 +6,7 @@
regexp: "^permit persist keepenv {{ doas_workstation_user }} as root"
line: "permit persist keepenv {{ doas_workstation_user }} as root"
create: true
- mode: 0644
+ mode: "0644"
owner: 0
group: 0
diff --git a/roles/_workstation/dockerd/tasks/main.yml b/roles/_workstation/dockerd/tasks/main.yml
index a7ba92b..82b2cac 100644
--- a/roles/_workstation/dockerd/tasks/main.yml
+++ b/roles/_workstation/dockerd/tasks/main.yml
@@ -19,7 +19,7 @@
state: directory
owner: 0
group: 0
- mode: 0755
+ mode: "0755"
- name: configure default network for docker containers
ansible.builtin.copy:
@@ -27,4 +27,4 @@
dest: "{{ dockerd_configuration_dir }}/daemon.json"
owner: 0
group: 0
- mode: 0600
+ mode: "0600"
diff --git a/roles/_workstation/hosts/tasks/main.yml b/roles/_workstation/hosts/tasks/main.yml
index 20e247e..920fbf8 100644
--- a/roles/_workstation/hosts/tasks/main.yml
+++ b/roles/_workstation/hosts/tasks/main.yml
@@ -4,6 +4,6 @@
ansible.builtin.get_url:
url: "{{ hosts_url }}"
dest: "{{ hosts_file }}"
- mode: 0644
+ mode: "0644"
owner: 0
group: 0
diff --git a/roles/_workstation/kernel/tasks/main.yml b/roles/_workstation/kernel/tasks/main.yml
index 3dc1e60..f711428 100644
--- a/roles/_workstation/kernel/tasks/main.yml
+++ b/roles/_workstation/kernel/tasks/main.yml
@@ -5,7 +5,7 @@
path: "{{ kernel_sysctl_configuration_file }}"
owner: 0
group: 0
- mode: 0644
+ mode: "0644"
- name: apply memory optimizations
ansible.builtin.blockinfile:
diff --git a/roles/_workstation/wscons/tasks/main.yml b/roles/_workstation/wscons/tasks/main.yml
index e07b7fa..67296f0 100644
--- a/roles/_workstation/wscons/tasks/main.yml
+++ b/roles/_workstation/wscons/tasks/main.yml
@@ -8,7 +8,7 @@
create: true
owner: 0
group: 0
- mode: 0644
+ mode: "0644"
loop:
- [screen.brightness, 80]
- [keyboard.repeat.del1, 180]
diff --git a/roles/_workstation/xorg/tasks/main.yml b/roles/_workstation/xorg/tasks/main.yml
index f07daba..ed183a7 100644
--- a/roles/_workstation/xorg/tasks/main.yml
+++ b/roles/_workstation/xorg/tasks/main.yml
@@ -17,13 +17,13 @@
path: "{{ xorg_configuration_dir }}"
owner: 0
group: 0
- mode: 0644
+ mode: "0644"
state: directory
- name: copy xorg configuration
ansible.builtin.copy:
src: intel.conf
dest: "{{ xorg_configuration_dir }}/"
- mode: 0644
+ mode: "0644"
owner: 0
group: 0
remember that computers suck.