diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-20 22:58:29 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-20 22:58:29 +0200 |
commit | 0653c447dd213e794d77117b01ccccec0bbae068 (patch) | |
tree | 2e4fbe70d29f4471fafd2416e4e29fe9d139ff3d /roles/apt | |
parent | v0.0.17 (diff) | |
download | infra-ansible-0653c447dd213e794d77117b01ccccec0bbae068.tar.gz infra-ansible-0653c447dd213e794d77117b01ccccec0bbae068.zip |
add ansible_managed comment to templates
Diffstat (limited to '')
-rw-r--r-- | roles/apt/templates/02periodic.j2 | 2 | ||||
-rw-r--r-- | roles/apt/templates/50unattended-upgrades.j2 | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/roles/apt/templates/02periodic.j2 b/roles/apt/templates/02periodic.j2 index 0c26a8f..42e080d 100644 --- a/roles/apt/templates/02periodic.j2 +++ b/roles/apt/templates/02periodic.j2 @@ -1,3 +1,5 @@ +{{ ansible_managed | comment }} + APT::Periodic::Enable "1"; APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "1"; diff --git a/roles/apt/templates/50unattended-upgrades.j2 b/roles/apt/templates/50unattended-upgrades.j2 index dfb2f9e..389bb2b 100644 --- a/roles/apt/templates/50unattended-upgrades.j2 +++ b/roles/apt/templates/50unattended-upgrades.j2 @@ -1,3 +1,5 @@ +{{ ansible_managed | comment }} + Unattended-Upgrade::Origins-Pattern { "origin=${distro_id},codename=${distro_codename}"; "origin=${distro_id},codename=${distro_codename}-security"; |