makefiles/
----------
o Adding more lint target logic.
o Copy in virtualenv.mk from voltha-docs to support dependency
based virtualenv installations.
*/*.yaml
--------
o Misc yamllint cleanups.
Makefile
--------
o Prune inlined logic since replaced by library makefile logic.
o Replaced explicit pyenv installation with dependency driven
so venv will only require installation once per target run.
o Library make clean/sterile targets handle cleanup.
Change-Id: Ie2ce0ebc01b07c0004a5904c2641c394e46d5044
diff --git a/packer/provision/baseline.yaml b/packer/provision/baseline.yaml
index 2c43ecf..8aacecd 100644
--- a/packer/provision/baseline.yaml
+++ b/packer/provision/baseline.yaml
@@ -19,7 +19,7 @@
Defaults:jenkins !requiretty
jenkins ALL = NOPASSWD: /usr/sbin/update-alternatives, /usr/sbin/update-java-alternatives
validate: /usr/sbin/visudo -cf %s
- become: yes
+ become: true
roles:
- lfit.lf-recommended-tools
@@ -39,8 +39,8 @@
path: /etc/nsswitch.conf
regexp: '^hosts:(\s+.*)?$'
replace: 'hosts:\1 myhostname'
- backup: yes
- become: yes
+ backup: true
+ become: true
- name: Disable periodic updates
block:
@@ -59,7 +59,7 @@
path: /etc/apt/apt.conf.d/10periodic
regexp: "^APT::Periodic::Unattended-Upgrade"
line: 'APT::Periodic::Unattended-Upgrade "0";'
- create: yes
+ create: true
- name: Uninstall unattended upgrades
apt:
name: unattended-upgrades
@@ -71,8 +71,8 @@
- name: Disable apt-daily.* systemd services
systemd:
name: "{{service}}"
- enabled: no
- masked: yes
+ enabled: false
+ masked: true
with_items:
- apt-daily.service
- apt-daily.timer
@@ -81,7 +81,7 @@
loop_control:
loop_var: service
when: ansible_distribution == 'Ubuntu'
- become: yes
+ become: true
- name: System Reseal
script: system-reseal.sh