foreman_ansible 5.1.0 → 5.1.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: f38e865029b1349a0f9a61bf6cc5a57fc5421d4ea41ef57ed9d45d0d04fe4fd9
4
- data.tar.gz: a63c7fc0d6e359ecd27283c9815c78ec3f6ff05e774e33c5bcaff5fdfde48ae7
3
+ metadata.gz: e0aa6750e2a4a664a8751b884adee730fbb792221e02596a334e3d6aa3955f84
4
+ data.tar.gz: f7e9287de112b986314c36603ffccc2e4a776bdfd151e2e2d09ce2232c04e5b4
5
5
  SHA512:
6
- metadata.gz: 94ca7682492e8648fd8b23f55cbe2fe1e13da17ff8853d1b196fd778282bf46f9a93f335175490c40be2a20198fdd3a3f6f3abccbb62b615fa9c5464279b0fd9
7
- data.tar.gz: 9d976f8e4dccd761d9e4568e98a337704321658613aa01dd6d94335db668885c1c8d1c456aa53e56dd88865e2714d90185fc094647e63c28c5d84bac07410a9a
6
+ metadata.gz: 9559f94d0fc7ab3be558c999ea36305817809c15069104363c934d3e2bbd46e9ca99d8065dd61210de4545e980f8beab5c71bdabcb36fc3e43edf83181f4e654
7
+ data.tar.gz: 7b426a84ece0047b636498828ff2af087200022a88c295c1e52ee4fd799849fa3a2eaeeee7ac9e79b2d45714b0b0b20f33fcdb18b1f759f22f85d8424b6e3ca4
@@ -14,6 +14,13 @@ template_inputs:
14
14
  advanced: false
15
15
  value_type: plain
16
16
  hidden_value: true
17
+ - name: http_proxy
18
+ required: false
19
+ input_type: user
20
+ advanced: true
21
+ value_type: plain
22
+ hidden_value: false
23
+ description: You can specify a HTTP proxy address that should be used for Cloud Connector connection to the cloud.redhat.com. Note that it must be HTTP proxy, not HTTPS. The tunelling of SSL (secured web socket connection) in SSL (HTTPS proxy) is currently unsupported.
17
24
  model: JobTemplate
18
25
  job_category: Ansible Playbook
19
26
  description_format: "%{template_name}"
@@ -18,7 +18,7 @@ model: JobTemplate
18
18
  ---
19
19
  - hosts: all
20
20
  tasks:
21
- - command: |
21
+ - shell: |
22
22
  echo <%= input('action') %> host && sleep 3
23
23
  <%= case input('action')
24
24
  when 'restart'
@@ -18,4 +18,8 @@ model: JobTemplate
18
18
  - hosts: all
19
19
  tasks:
20
20
  - command: |
21
- puppet agent --onetime --no-usecacheonfailure --no-daemonize <%= input("puppet_options") %>
21
+ puppet agent --onetime --no-usecacheonfailure --no-daemonize <%= input("puppet_options") -%>
22
+ <% if @host.operatingsystem.family == 'Debian' -%>
23
+ environment:
24
+ PATH: "/opt/puppetlabs/bin:{{ (ansible_env|default({})).PATH|default('') }}"
25
+ <% end -%>
@@ -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 = '5.1.0'
7
+ VERSION = '5.1.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: 5.1.0
4
+ version: 5.1.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: 2020-06-02 00:00:00.000000000 Z
11
+ date: 2020-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop