diff --git a/build/ansible b/build/ansible index e7e4f6e8a950..59ec09f1257c 160000 --- a/build/ansible +++ b/build/ansible @@ -1 +1 @@ -Subproject commit e7e4f6e8a950b87bb7ac8d8c9cc61529643d10a7 +Subproject commit 59ec09f1257cc555c915be12339d6013382ab178 diff --git a/provider/ansible/example.rb b/provider/ansible/example.rb index fbbd85d276ef..f8b2f5599525 100644 --- a/provider/ansible/example.rb +++ b/provider/ansible/example.rb @@ -27,8 +27,8 @@ module Ansible }.freeze EXAMPLE_DEFAULTS = { - name: 'testObject', - project: 'testProject', + name: 'test_object', + project: 'test_project', auth_kind: 'service_account', service_account_file: '/tmp/auth.pem' }.freeze diff --git a/templates/ansible/tasks/task.yaml.erb b/templates/ansible/tasks/task.yaml.erb index 246628fad99e..ba07671a389e 100644 --- a/templates/ansible/tasks/task.yaml.erb +++ b/templates/ansible/tasks/task.yaml.erb @@ -11,10 +11,6 @@ <%= lines(indent(compile_string(hash, @code.to_yaml.gsub('---', '').strip), 6)) -%> - scopes: -<% (@scopes || object.__product.scopes).each do |scope| -%> - - <%= scope %> -<% end -%> <% if state && state != 'facts' -%> state: <%= state %> <% end # if state -%>