aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/docker
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-08-18 12:04:27 +0000
committerpmikus <pmikus@cisco.com>2021-08-18 12:04:27 +0000
commitd41a5490f30a161561c39c4f1b08add17b9cf6f7 (patch)
tree4244f8492f66f5ba1afe1c85c3a55340b125c8f7 /fdio.infra.ansible/roles/docker
parenta24c98b45ca1e9d56039d7649f65ac31e006d949 (diff)
Infra: Ansible yaml lint cleanup
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: If00b376bd78b7b603d7887c1e149e7dccdb6d217
Diffstat (limited to 'fdio.infra.ansible/roles/docker')
-rw-r--r--fdio.infra.ansible/roles/docker/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/docker/handlers/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/docker/meta/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/docker/tasks/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml4
-rw-r--r--fdio.infra.ansible/roles/docker/tasks/ubuntu_focal.yaml4
6 files changed, 8 insertions, 8 deletions
diff --git a/fdio.infra.ansible/roles/docker/defaults/main.yaml b/fdio.infra.ansible/roles/docker/defaults/main.yaml
index df9d2c92b6..a8f4e6289d 100644
--- a/fdio.infra.ansible/roles/docker/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/docker/defaults/main.yaml
@@ -35,4 +35,4 @@ docker_daemon_environment_http:
- "NO_PROXY={{ proxy_env.no_proxy }}"
docker_daemon_environment_https:
- "HTTPS_PROXY={{ proxy_env.https_proxy }}"
- - "NO_PROXY={{ proxy_env.no_proxy }}" \ No newline at end of file
+ - "NO_PROXY={{ proxy_env.no_proxy }}"
diff --git a/fdio.infra.ansible/roles/docker/handlers/main.yaml b/fdio.infra.ansible/roles/docker/handlers/main.yaml
index d89adb9a1a..572b789d48 100644
--- a/fdio.infra.ansible/roles/docker/handlers/main.yaml
+++ b/fdio.infra.ansible/roles/docker/handlers/main.yaml
@@ -6,4 +6,4 @@
name: "docker"
state: "{{ docker_restart_handler_state }}"
tags:
- - docker-restart-service \ No newline at end of file
+ - docker-restart-service
diff --git a/fdio.infra.ansible/roles/docker/meta/main.yaml b/fdio.infra.ansible/roles/docker/meta/main.yaml
index ab3d197791..e191fd43b6 100644
--- a/fdio.infra.ansible/roles/docker/meta/main.yaml
+++ b/fdio.infra.ansible/roles/docker/meta/main.yaml
@@ -1,4 +1,4 @@
---
# file: roles/docker/meta/main.yaml
-dependencies: [] \ No newline at end of file
+dependencies: []
diff --git a/fdio.infra.ansible/roles/docker/tasks/main.yaml b/fdio.infra.ansible/roles/docker/tasks/main.yaml
index d40e1a44c1..27b9d250da 100644
--- a/fdio.infra.ansible/roles/docker/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/docker/tasks/main.yaml
@@ -77,7 +77,7 @@
user:
name: "{{ ansible_user }}"
groups: "docker"
- append: True
+ append: true
tags:
- docker-conf-user
diff --git a/fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml b/fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml
index 8bda4fed21..21f28e0c55 100644
--- a/fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml
+++ b/fdio.infra.ansible/roles/docker/tasks/ubuntu_bionic.yaml
@@ -10,7 +10,7 @@
- "software-properties-common"
state: "present"
cache_valid_time: 3600
- install_recommends: False
+ install_recommends: false
tags:
- docker-inst-dependencies
@@ -25,6 +25,6 @@
apt_repository:
repo: "{{ docker_apt_repository }}"
state: "{{ docker_apt_repository_state }}"
- update_cache: yes
+ update_cache: true
tags:
- docker-conf-apt
diff --git a/fdio.infra.ansible/roles/docker/tasks/ubuntu_focal.yaml b/fdio.infra.ansible/roles/docker/tasks/ubuntu_focal.yaml
index 84bd1c5824..236cec6322 100644
--- a/fdio.infra.ansible/roles/docker/tasks/ubuntu_focal.yaml
+++ b/fdio.infra.ansible/roles/docker/tasks/ubuntu_focal.yaml
@@ -10,7 +10,7 @@
- "software-properties-common"
state: "present"
cache_valid_time: 3600
- install_recommends: False
+ install_recommends: false
tags:
- docker-inst-dependencies
@@ -25,6 +25,6 @@
apt_repository:
repo: "{{ docker_apt_repository }}"
state: "{{ docker_apt_repository_state }}"
- update_cache: yes
+ update_cache: true
tags:
- docker-conf-apt