Commit 15fe768f authored by nanahira's avatar nanahira

change vars

parent b9c6bb1c
Pipeline #738 canceled with stage
in 17 seconds
...@@ -20,4 +20,4 @@ china_mirror_pip: false ...@@ -20,4 +20,4 @@ china_mirror_pip: false
china_mirror_omf: false china_mirror_omf: false
cpufreq_policy: none cpufreq_policy: none
vm_agents_status: present vm_agents_status: present
docker_template_path: 'daemon.json.j2' install_fish_and_byobu: true
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
- name: docker 配置 - name: docker 配置
become: true become: true
template: template:
src: '{{docker_template_path}}' src: 'daemon.json.j2'
dest: /etc/docker/daemon.json dest: /etc/docker/daemon.json
notify: reload_docker notify: reload_docker
- name: docker 启动 - name: docker 启动
......
...@@ -40,10 +40,12 @@ ...@@ -40,10 +40,12 @@
when: install_docker when: install_docker
- name: fish - name: fish
include_tasks: fish.yml include_tasks: fish.yml
when: ansible_os_family == 'Debian' or ansible_distribution == 'Fedora' # RedHat has too many problems on fish, so aborted when: install_fish_and_byobu and ansible_os_family == 'Debian' or ansible_distribution == 'Fedora' # RedHat has too many problems on fish, so aborted
- name: byobu
include_tasks: byobu.yml
when: install_fish_and_byobu
- name: customize - name: customize
include_tasks: '{{item}}.yml' include_tasks: '{{item}}.yml'
with_items: with_items:
- byobu
- vim - vim
- git_config - git_config
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