Changeset - 2d97a06ce475
[Not reviewed]
0 1 0
x - 21 months ago 2023-08-24 01:22:25
xbr@c3l.lu
fix: define ansible_managed to avoid error

ansible_managed is only available in templates. This is a workaround.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
initial_server_setup/initial_setup.yml
Show inline comments
 
@@ -4,12 +4,13 @@
 
  become: true
 

	
 
  vars_files:
 
    - ../user_vars.yml
 
  vars:
 
    password: Welcome1234
 
    ansible_managed: "This file is managed by Ansible. Do not modify."
 

	
 
  tasks:
 
    - name: Update + Upgrade packages
 
      ansible.builtin.apt:
 
        upgrade: true
 
        update_cache: true
0 comments (0 inline, 0 general)