Commit a08d55b3 authored by nanahira's avatar nanahira

optional upgrade

parent be2c368f
...@@ -6,7 +6,9 @@ ...@@ -6,7 +6,9 @@
- utility - utility
- sshd_config - sshd_config
- sysctl - sysctl
- upgrade - name: upgrade
include_tasks: 'upgrade.yml'
when: "upgrade"
- name: apt - name: apt
include_tasks: apt.yml include_tasks: apt.yml
when: "ansible_os_family == 'Debian'" when: "ansible_os_family == 'Debian'"
......
--- ---
# vars file for init # vars file for init
\ No newline at end of file
# 修改这个变量来禁止系统更新
upgrade: true
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