foreman_ansible 4.0.3 → 4.0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50fcc8a11e740accbe0decde180877cd63cbe18d9cd993d4df35c3e0ad4d5568
4
- data.tar.gz: 3c08be37044ce27d049f0dbfc237197cf9529c4fb3b661e5afff43a1d67236ed
3
+ metadata.gz: 0e6421e9cfe478f1d9f90fe76302c281a8cde48ea3ea2a6d79ab0e1683c685ab
4
+ data.tar.gz: 8f95641d4c4619782dba98bdfe58c5703d5c133da46193e701b2cbdd72fa604f
5
5
  SHA512:
6
- metadata.gz: 20aeae57f53a26fc9ce12144ee7007131b47e8298f752d24b7e9d140b0804f8684a8b7cc734cfbb3810bacfa087d7276b7a392d3ba2758729d66608e65dece6d
7
- data.tar.gz: 14699bfa5c0986e9c3d4cf6fbdeff80fc761294cf68d794c5b8fd088ba487294888d4d30336b6164e76fd72787dfbb2cc3e49a3df9a62616e833e45df445af7d
6
+ metadata.gz: d868ce3d3a9ff0a125a1b30ac999c15c4abb313d12336240d57bf847e37623e835a5312939dac8620a88ee3b9ba2effd34b716f727895e4dcbecfcafe82d1046
7
+ data.tar.gz: fdce0642400d13135c961b2940303daf719c2eb6000ea764f6be44431e02ee2a72bccff9104f649331f7643e6a4cae6931ac7d127b5f7b897713c9c091e19d36
@@ -15,7 +15,10 @@ model: JobTemplate
15
15
  - name: Display all parameters known for the Foreman host
16
16
  debug:
17
17
  var: foreman
18
- roles:
19
- <%- if @host.all_ansible_roles.present? -%>
20
- <%= @host.all_ansible_roles.map { |role| " - #{role.name.strip}" }.join("\n") %>
21
- <%- end -%>
18
+ tasks:
19
+ - name: Apply roles
20
+ include_role:
21
+ name: "{{ role }}"
22
+ loop: "{{ foreman_ansible_roles }}"
23
+ loop_control:
24
+ loop_var: role
@@ -0,0 +1,26 @@
1
+ <%#
2
+ name: Connect Red Hat receptor controller
3
+ snippet: false
4
+ template_inputs:
5
+ - name: satellite_user
6
+ required: true
7
+ input_type: user
8
+ advanced: false
9
+ value_type: plain
10
+ - name: satellite_password
11
+ required: true
12
+ input_type: user
13
+ advanced: false
14
+ value_type: plain
15
+ model: JobTemplate
16
+ job_category: Ansible Playbook
17
+ provider_type: Ansible
18
+ kind: job_template
19
+ %>
20
+
21
+ ---
22
+ - hosts: all
23
+ vars:
24
+ satellite_url: "<%= foreman_server_url %>"
25
+ roles:
26
+ - satellite-receptor
@@ -4,5 +4,5 @@
4
4
  # This way other parts of Foreman can just call ForemanAnsible::VERSION
5
5
  # and detect what version the plugin is running.
6
6
  module ForemanAnsible
7
- VERSION = '4.0.3'
7
+ VERSION = '4.0.3.1'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_ansible
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.3
4
+ version: 4.0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Lobato Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-12 00:00:00.000000000 Z
11
+ date: 2020-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -206,6 +206,7 @@ files:
206
206
  - app/views/foreman_ansible/job_templates/ansible_roles_-_ansible_default.erb
207
207
  - app/views/foreman_ansible/job_templates/ansible_roles_-_install_from_galaxy.erb
208
208
  - app/views/foreman_ansible/job_templates/ansible_roles_-_install_from_git.erb
209
+ - app/views/foreman_ansible/job_templates/connect_red_hat_receptor_controller_-_ansible_default.erb
209
210
  - app/views/foreman_ansible/job_templates/maintenance_plan.erb
210
211
  - app/views/foreman_ansible/job_templates/module_action_-_ansible_default.erb
211
212
  - app/views/foreman_ansible/job_templates/package_action_-_ansible_default.erb