Просмотр исходного кода

We decide now in the kitchen config if ansible uses sudo or not

Till Klocke 9 лет назад
Родитель
Сommit
16d8b675f0
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      .kitchen.yml
  2. 1 1
      test/application/supernode.yml

+ 1 - 0
.kitchen.yml

@@ -7,6 +7,7 @@ provisioner:
     verbose            : "vvvv"
     ansible_config     : "test/ansible.cfg"
     idempotency_test   : False
+    sudo               : True
     #chef_bootstrap_url : False
     #extra_vars        : "@kitchen_vars.yml"
 

+ 1 - 1
test/application/supernode.yml

@@ -2,7 +2,7 @@
 - name         : Fastd via pkg manager
   hosts        : all
   gather_facts : yes
-  sudo         : yes
+  #sudo         : no
   connection   : "{{ kitchen_connection | default('local') }}"
   vars_files   :
                  - "supernode_pkg_vars.yml"