Commit 0dba8052 authored by eric pellegrini's avatar eric pellegrini

replaced any occurence of yes by True

parent 50f55869
......@@ -38,7 +38,7 @@
apt:
name: cloud-init
force_apt_get: True
purge: yes
purge: True
- name: remove /etc/cloud/ and /var/lib/cloud/
file:
......
......@@ -2,8 +2,8 @@
- name: install apt dependencies
apt:
name: "{{ item }}"
force_apt_get: yes
update_cache: yes
force_apt_get: True
update_cache: True
loop:
- apache2
- apt-transport-https
......@@ -31,11 +31,11 @@
apt_repository:
repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ansible_distribution_release}} stable
state: present
update_cache: yes
update_cache: True
- name: install docker
apt:
name: docker-ce
policy_rc_d: 101
update_cache: true
force_apt_get: yes
update_cache: True
force_apt_get: True
......@@ -3,6 +3,6 @@
- name: restart visa-jupyter
systemd:
name: visa-jupyter
enabled: yes
enabled: True
state: restarted
become: True
......@@ -2,9 +2,9 @@
# tasks file for roles/jupyterhub
- apt:
name: python3-pip
force_apt_get: yes
force_apt_get: True
state: present
update_cache: yes
update_cache: True
become: True
- pip:
......
......@@ -17,8 +17,8 @@
sysctl:
name: net.bridge.bridge-nf-call-iptables
value: "1"
sysctl_set: yes
sysctl_set: True
state: present
reload: yes
reload: True
notify: restart kubernetes
......@@ -2,6 +2,6 @@
- name: install nfs-common
apt:
name: nfs-common
update_cache: true
force_apt_get: yes
update_cache: True
force_apt_get: True
......@@ -3,6 +3,6 @@
- name: restart nfs
systemd:
name: nfs-kernel-server
enabled: yes
enabled: True
state: restarted
......@@ -12,7 +12,7 @@
lineinfile:
path: /etc/exports
line: "{{ item }} {{ network_cidr | mandatory }}(rw,fsid=0,insecure,no_subtree_check,async,no_root_squash)"
create: yes
create: True
loop: "{{ shared_directories }}"
notify: restart nfs
......@@ -2,6 +2,5 @@
- name: install nfs-kernel-server
apt:
name: nfs-kernel-server
update_cache: true
force_apt_get: yes
update_cache: True
force_apt_get: True
......@@ -2,5 +2,5 @@
- name: install nginx
apt:
name: nginx
force_apt_get: yes
update_cache: yes
force_apt_get: True
update_cache: True
......@@ -2,5 +2,5 @@
- name: restart ntp
systemd:
name: ntp
daemon_reload: yes
daemon_reload: True
state: restarted
......@@ -2,7 +2,7 @@
- name: install ntp
apt:
name: ntp
force_apt_get: yes
force_apt_get: True
state: present
update_cache: yes
update_cache: True
......@@ -3,23 +3,23 @@
- name: restart sshd
service:
name: sshd
enabled: yes
enabled: True
state: restarted
- name: restart sssd
service:
name: sssd
enabled: yes
enabled: True
state: restarted
- name: restart nscd
service:
name: nscd
enabled: yes
enabled: True
state: restarted
- name: restart autofs
service:
name: autofs
enabled: yes
enabled: True
state: restarted
......@@ -2,9 +2,9 @@
- name: install sssd related packages
apt:
name: "{{ item }}"
force_apt_get: yes
force_apt_get: True
state: present
update_cache: yes
update_cache: True
loop:
- sssd
- nscd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment