Преглед на файлове

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

Till Klocke преди 9 години
родител
ревизия
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"