Project

General

Profile

Actions

Bug #17302

closed

configure and install foreman_plugin_ansible, but it is not show under the configure menu

Added by vanlos wang over 7 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

I have configured and installed foreman_plugin_ansible with foreman and the version of foreman is 1.12.4, but ANSIBLE is not show under the configure menu. I also installed foreman_plugin_chef and foreman_plugin_salt, there are SALT, PUPPET and CHEF are showed for me. why there are no ANSIBLE now?

My foreman-installer options is as follwing:

  1. foreman-installer i
    Welcome to the Foreman installer!
    --------------------------------

This wizard will gather all required information. You can change any parameter
to your needs.

Ready to start? (y/n)
y

Main Config Menu
1. [✓] Configure foreman
2. [✓] Configure foreman_cli
3. [✓] Configure foreman_proxy
4. [✓] Configure puppet
5. [✓] Configure foreman_plugin_ansible
6. [✓] Configure foreman_plugin_bootdisk
7. [✓] Configure foreman_plugin_chef
8. [✓] Configure foreman_plugin_cockpit
9. [✓] Configure foreman_plugin_default_hostgroup
10. [✓] Configure foreman_plugin_dhcp_browser
11. [✓] Configure foreman_plugin_digitalocean
12. [✓] Configure foreman_plugin_discovery
13. [✓] Configure foreman_plugin_docker
14. [✓] Configure foreman_plugin_hooks
15. [✓] Configure foreman_plugin_memcache
16. [✓] Configure foreman_plugin_openscap
17. [✓] Configure foreman_plugin_puppetdb
18. [✓] Configure foreman_plugin_remote_execution
19. [✓] Configure foreman_plugin_salt
20. [✓] Configure foreman_plugin_setup
21. [✓] Configure foreman_plugin_tasks
22. [✓] Configure foreman_plugin_templates
23. [✓] Configure foreman_compute_ec2
24. [✓] Configure foreman_compute_gce
25. [✓] Configure foreman_compute_libvirt
26. [✓] Configure foreman_compute_openstack
27. [✓] Configure foreman_compute_ovirt
28. [✓] Configure foreman_compute_rackspace
29. [✓] Configure foreman_compute_vmware
30. [✓] Configure foreman_proxy_plugin_abrt
31. [✓] Configure foreman_proxy_plugin_chef
32. [✓] Configure foreman_proxy_plugin_discovery
33. [✓] Configure foreman_proxy_plugin_dns_powerdns
34. [✓] Configure foreman_proxy_plugin_dynflow
35. [✓] Configure foreman_proxy_plugin_openscap
36. [✓] Configure foreman_proxy_plugin_pulp
37. [✓] Configure foreman_proxy_plugin_remote_execution_ssh
38. [✓] Configure foreman_proxy_plugin_salt
39. Display current config
40. Save and run
41. Cancel run without Saving
Choose an option from the menu...

  1. cat /etc/foreman-installer/scenarios.d/foreman-answers.yaml
  2. Format:
  3. <classname>: false - don't include this class
  4. <classname>: true - include and use the defaults
  5. <classname>:
  6. <param>: <value> - include and override the default(s) #
  7. See params.pp in each class for what options are available

---
foreman:
foreman_url: "https://operator.com"
puppetrun: false
unattended: true
authentication: true
passenger: true
passenger_ruby: /usr/bin/tfm-ruby
passenger_ruby_package: tfm-rubygem-passenger-native
plugin_prefix: tfm-rubygem-foreman_
use_vhost: true
servername: operator.com
serveraliases:
- foreman
ssl: true
custom_repo: true
repo: stable
configure_epel_repo: true
configure_scl_repo: true
configure_brightbox_repo: false
selinux:
gpgcheck: true
version: present
plugin_version: present
db_manage: true
db_type: postgresql
db_adapter:
db_host:
db_port:
db_database:
db_username: foreman
db_password: qbjx8Eicp6JdMGB7WmQgsZXcyhuDAA9J
db_sslmode:
db_pool: 5
apipie_task: "apipie:cache:index"
app_root: /usr/share/foreman
manage_user: true
user: foreman
group: foreman
user_groups:
- puppet
environment: production
puppet_home: /var/lib/puppet
puppet_ssldir: /var/lib/puppet/ssl
locations_enabled: false
organizations_enabled: false
passenger_interface:
vhost_priority: "05"
server_ssl_ca: /var/lib/puppet/ssl/certs/ca.pem
server_ssl_chain: /var/lib/puppet/ssl/certs/ca.pem
server_ssl_cert: /var/lib/puppet/ssl/certs/operator.com.pem
server_ssl_certs_dir: ""
server_ssl_key: /var/lib/puppet/ssl/private_keys/operator.com.pem
server_ssl_crl: /var/lib/puppet/ssl/crl.pem
client_ssl_ca: /var/lib/puppet/ssl/certs/ca.pem
client_ssl_cert: /var/lib/puppet/ssl/certs/operator.com.pem
client_ssl_key: /var/lib/puppet/ssl/private_keys/operator.com.pem
keepalive: true
max_keepalive_requests: 100
keepalive_timeout: 5
oauth_active: true
oauth_map_users: false
oauth_consumer_key: yxHevymjNnncibj5wa6YEAvSPxSyisC2
oauth_consumer_secret: otnSTB4cnTjRQTXtVviUr9NMiX2JVXSe
passenger_prestart: true
passenger_min_instances: "1"
passenger_start_timeout: "600"
admin_username: admin
admin_password: "123456"
admin_first_name:
admin_last_name:
admin_email:
initial_organization:
initial_location:
ipa_authentication: false
http_keytab: /etc/httpd/conf/http.keytab
pam_service: foreman
ipa_manage_sssd: true
websockets_encrypt: true
websockets_ssl_key: /var/lib/puppet/ssl/private_keys/operator.com.pem
websockets_ssl_cert: /var/lib/puppet/ssl/certs/operator.com.pem
logging_level: info
loggers: {}
email_conf: email.yaml
email_source: email.yaml.erb
email_delivery_method:
email_smtp_address:
email_smtp_port: 25
email_smtp_domain:
email_smtp_authentication: none
email_smtp_user_name:
email_smtp_password:
"foreman::cli":
foreman_url:
manage_root_config: true
username:
password:
refresh_cache: false
request_timeout: 120
foreman_proxy:
repo: stable
gpgcheck: true
custom_repo: true
version: present
ensure_packages_version: present
plugin_version: installed
bind_host: "*"
http_port: 8000
ssl_port: 8443
dir: /usr/share/foreman-proxy
user: foreman-proxy
log: /var/log/foreman-proxy/proxy.log
log_level: INFO
log_buffer: 2000
log_buffer_errors: 1000
http: false
ssl: true
ssl_ca: /var/lib/puppet/ssl/certs/ca.pem
ssl_cert: /var/lib/puppet/ssl/certs/operator.com.pem
ssl_key: /var/lib/puppet/ssl/private_keys/operator.com.pem
foreman_ssl_ca:
foreman_ssl_cert:
foreman_ssl_key:
trusted_hosts:
- operator.com
ssl_disabled_ciphers: []
manage_sudoersd: true
use_sudoersd: true
puppetca: true
puppetca_listen_on: https
ssldir: /var/lib/puppet/ssl
puppetdir: /etc/puppet
puppetca_cmd: "/usr/bin/puppet cert"
puppet_group: puppet
puppet: true
puppet_split_config_files: true
puppet_listen_on: https
puppetrun_cmd: "/usr/bin/puppet kick"
puppetrun_provider:
customrun_cmd: /bin/false
customrun_args: "-ay -f -s"
mcollective_user: root
puppetssh_sudo: false
puppetssh_command: "/usr/bin/puppet agent --onetime --no-usecacheonfailure"
puppetssh_user: root
puppetssh_keyfile: /etc/foreman-proxy/id_rsa
puppetssh_wait: false
salt_puppetrun_cmd: puppet.run
puppet_user: root
puppet_url: "https://operator.com:8140"
puppet_ssl_ca: /var/lib/puppet/ssl/certs/ca.pem
puppet_ssl_cert: /var/lib/puppet/ssl/certs/operator.com.pem
puppet_ssl_key: /var/lib/puppet/ssl/private_keys/operator.com.pem
puppet_use_environment_api:
templates: false
templates_listen_on: both
template_url: "http://operator.com:8000"
logs: false
logs_listen_on: https
tftp: true
tftp_listen_on: https
tftp_managed: true
tftp_manage_wget: true
tftp_syslinux_filenames:
- /usr/share/syslinux/chain.c32
- /usr/share/syslinux/mboot.c32
- /usr/share/syslinux/menu.c32
- /usr/share/syslinux/memdisk
- /usr/share/syslinux/pxelinux.0
tftp_root: /var/lib/tftpboot
tftp_dirs:
- /var/lib/tftpboot/pxelinux.cfg
- /var/lib/tftpboot/boot
- /var/lib/tftpboot/ztp.cfg
- /var/lib/tftpboot/poap.cfg
tftp_servername:
dhcp: true
dhcp_listen_on: https
dhcp_managed: true
dhcp_provider: isc
dhcp_subnets: []
dhcp_option_domain:
- com
dhcp_search_domains:
dhcp_interface: eth1
dhcp_gateway: "192.168.100.1"
dhcp_range: false
dhcp_nameservers: default
dhcp_server: "127.0.0.1"
dhcp_config: /etc/dhcp/dhcpd.conf
dhcp_leases: /var/lib/dhcpd/dhcpd.leases
dhcp_key_name:
dhcp_key_secret:
dhcp_omapi_port: 7911
dns: true
dns_listen_on: https
dns_managed: true
dns_provider: nsupdate
dns_interface: eth1
dns_zone: com
dns_reverse: "100.168.192.in-addr.arpa"
dns_server: "127.0.0.1"
dns_ttl: "86400"
dns_tsig_keytab: /etc/foreman-proxy/dns.keytab
dns_tsig_principal: "foremanproxy/operator.com@COM"
dns_forwarders: []
libvirt_backend: libvirt
libvirt_network: default
libvirt_connection: "qemu:///system"
bmc: true
bmc_listen_on: https
bmc_default_provider: ipmitool
realm: true
realm_listen_on: https
realm_provider: freeipa
realm_keytab: /etc/foreman-proxy/freeipa.keytab
realm_principal: ""
freeipa_remove_dns: true
keyfile: /etc/rndc.key
register_in_foreman: true
foreman_base_url: "https://operator.com"
registered_name: operator.com
registered_proxy_url:
oauth_effective_user: admin
oauth_consumer_key: yxHevymjNnncibj5wa6YEAvSPxSyisC2
oauth_consumer_secret: otnSTB4cnTjRQTXtVviUr9NMiX2JVXSe
puppet_use_cache:
puppet:
version: present
user: puppet
group: puppet
dir: /etc/puppet
codedir: /etc/puppet
vardir: /var/lib/puppet
logdir: /var/log/puppet
rundir: /var/run/puppet
ssldir: /var/lib/puppet/ssl
sharedir: /usr/share/puppet
manage_packages: true
dir_owner: puppet
dir_group: puppet
package_provider:
package_source:
port: 8140
listen: false
listen_to: []
pluginsync: true
splay: false
splaylimit: "1800"
autosign: /etc/puppet/autosign.conf
autosign_mode: "0664"
runinterval: 1800
usecacheonfailure: true
runmode: service
unavailable_runmodes: []
cron_cmd:
systemd_cmd:
agent_noop: false
show_diff: false
module_repository:
configtimeout: 120
ca_server:
ca_port:
prerun_command:
postrun_command:
dns_alt_names: []
use_srv_records: false
srv_domain: com
pluginsource: "puppet:///plugins"
pluginfactsource: "puppet:///pluginfacts"
additional_settings: {}
agent_additional_settings: {}
agent_restart_command: "/usr/bin/systemctl reload-or-restart puppet"
classfile: "$statedir/classes.txt"
hiera_config: "$confdir/hiera.yaml"
main_template: puppet/puppet.conf.erb
agent_template: puppet/agent/puppet.conf.erb
auth_template: puppet/auth.conf.erb
allow_any_crl_auth: false
auth_allowed:
- "$1"
client_package:
- puppet
agent: true
remove_lock: true
client_certname: operator.com
puppetmaster:
systemd_unit_name: puppet-run
service_name: puppet
syslogfacility:
environment: production
server: true
server_admin_api_whitelist:
- "127.0.0.1"
- "::1"
- "172.30.1.218"
server_user: puppet
server_group: puppet
server_dir: /etc/puppet
server_ip: "0.0.0.0"
server_port: 8140
server_ca: true
server_ca_auth_required: true
server_ca_client_whitelist:
- "127.0.0.1"
- "::1"
- "172.30.1.218"
server_http: false
server_http_port: 8139
server_http_allow: []
server_reports: foreman
server_implementation: master
server_passenger: true
server_puppetserver_dir: /etc/puppetserver
server_puppetserver_version: "2.6.0"
server_service_fallback: true
server_passenger_min_instances: 4
server_passenger_pre_start: true
server_httpd_service: httpd
server_external_nodes: /etc/puppet/node.rb
server_template: puppet/server/puppet.conf.erb
server_main_template: puppet/server/puppet.conf.main.erb
server_cipher_suites:
- TLS_RSA_WITH_AES_256_CBC_SHA256
- TLS_RSA_WITH_AES_256_CBC_SHA
- TLS_RSA_WITH_AES_128_CBC_SHA256
- TLS_RSA_WITH_AES_128_CBC_SHA
server_config_version:
server_connect_timeout: 120000
server_git_repo: false
server_dynamic_environments: false
server_directory_environments: true
server_default_manifest: false
server_default_manifest_path: /etc/puppet/manifests/default_manifest.pp
server_default_manifest_content: ""
server_enable_ruby_profiler: false
server_environments:
- development
- production
server_environments_owner: puppet
server_environments_group:
server_environments_mode: "0755"
server_envs_dir: /etc/puppet/environments
server_manifest_path: /etc/puppet/manifests
server_common_modules_path:
- /etc/puppet/environments/common
- /etc/puppet/modules
- /usr/share/puppet/modules
server_git_repo_mode: "0755"
server_git_repo_path: /var/lib/puppet/puppet.git
server_git_repo_group: puppet
server_git_repo_user: puppet
server_git_branch_map: {}
server_idle_timeout: 1200000
server_post_hook_content: puppet/server/post-receive.erb
server_post_hook_name: post-receive
server_storeconfigs_backend:
server_app_root: /etc/puppet/rack
server_ruby_load_paths: []
server_ssl_dir: /var/lib/puppet/ssl
server_ssl_dir_manage: true
server_ssl_protocols:
- TLSv1.2
server_package:
server_version:
server_certname: operator.com
server_enc_api: v2
server_report_api: v2
server_request_timeout: 60
server_ca_proxy:
server_strict_variables: false
server_additional_settings: {}
server_rack_arguments: []
server_foreman: true
server_foreman_url: "https://operator.com"
server_foreman_ssl_ca:
server_foreman_ssl_cert:
server_foreman_ssl_key:
server_facts: true
server_puppet_basedir:
server_puppetdb_host:
server_puppetdb_port: 8081
server_puppetdb_swf: false
server_parser: current
server_environment_timeout:
server_jvm_java_bin: /usr/bin/java
server_jvm_config: /etc/sysconfig/puppetserver
server_jvm_min_heap_size: "2G"
server_jvm_max_heap_size: "2G"
server_jvm_extra_args: "-XX:MaxPermSize=256m"
server_jruby_gem_home: /var/lib/puppet/jruby-gems
server_max_active_instances: 4
server_use_legacy_auth_conf: false
"foreman::plugin::ansible": {}
"foreman::plugin::bootdisk": {}
"foreman::plugin::chef": {}
"foreman::plugin::cockpit": {}
"foreman::plugin::default_hostgroup": {}
"foreman::plugin::dhcp_browser": {}
"foreman::plugin::digitalocean": {}
"foreman::plugin::discovery":
install_images: false
tftp_root: /var/lib/tftpboot
source_url: "http://downloads.theforeman.org/discovery/releases/latest/"
image_name: fdi-image-latest.tar
"foreman::plugin::docker": {}
"foreman::plugin::hooks": {}
"foreman::plugin::memcache":
hosts: []
expires_in: 86400
namespace: foreman
compress: true
"foreman::plugin::openscap":
configure_openscap_repo: false
"foreman::plugin::puppetdb":
package: tfm-rubygem-puppetdb_foreman
address: "https://localhost:8081/v2/commands"
dashboard_address: "http://localhost:8080/dashboard"
"foreman::plugin::remote_execution": {}
"foreman::plugin::salt": {}
"foreman::plugin::setup": {}
"foreman::plugin::tasks":
package: tfm-rubygem-foreman-tasks
service: foreman-tasks
"foreman::plugin::templates": {}
"foreman::compute::ec2":
package:
version:
"foreman::compute::gce":
version:
"foreman::compute::libvirt":
version:
"foreman::compute::openstack":
package:
version:
"foreman::compute::ovirt":
version:
"foreman::compute::rackspace":
package:
version:
"foreman::compute::vmware":
version:
"foreman_proxy::plugin::abrt":
enabled: true
listen_on: https
version:
group:
abrt_send_log_file: /var/log/foreman-proxy/abrt-send.log
spooldir: /var/spool/foreman-proxy-abrt
aggregate_reports: true
send_period: 600
faf_server_url:
faf_server_ssl_noverify: true
faf_server_ssl_cert:
faf_server_ssl_key:
"foreman_proxy::plugin::chef":
enabled: true
listen_on: https
version:
group:
server_url: "https://operator.com"
client_name: operator.com
private_key: /etc/chef/client.pem
ssl_verify: true
ssl_pem_file:
"foreman_proxy::plugin::discovery":
install_images: false
tftp_root: /var/lib/tftpboot
source_url: "http://downloads.theforeman.org/discovery/releases/latest/"
image_name: fdi-image-latest.tar
"foreman_proxy::plugin::dns::powerdns":
mysql_hostname: localhost
mysql_username: pdns
mysql_password: EsbUCH8FwVSmgZGg
mysql_database: pdns
manage_database: false
pdnssec: pdnssec
"foreman_proxy::plugin::dynflow":
enabled: true
listen_on: https
database_path: /var/lib/foreman-proxy/dynflow/dynflow.sqlite
console_auth: true
"foreman_proxy::plugin::openscap":
configure_openscap_repo: false
enabled: true
version:
listen_on: https
openscap_send_log_file: /var/log/foreman-proxy/openscap-send.log
spooldir: /var/spool/foreman-proxy/openscap
contentdir: /var/lib/foreman-proxy/openscap/content
reportsdir: /var/lib/foreman-proxy/openscap/reports
failed_dir: /var/lib/foreman-proxy/openscap/failed
"foreman_proxy::plugin::pulp":
enabled: true
listen_on: https
pulpnode_enabled: false
version:
group:
pulp_url: "https://operator.com/pulp"
pulp_dir: /var/lib/pulp
pulp_content_dir: /var/lib/pulp/content
mongodb_dir: /var/lib/mongodb
"foreman_proxy::plugin::remote_execution::ssh":
enabled: true
listen_on: https
generate_keys: true
ssh_identity_dir: /usr/share/foreman-proxy/.ssh
ssh_identity_file: id_rsa_foreman_proxy
ssh_keygen: /usr/bin/ssh-keygen
local_working_dir: /var/tmp
remote_working_dir: /var/tmp
"foreman_proxy::plugin::salt":
autosign_file: /etc/salt/autosign.conf
enabled: true
listen_on: https
user: root
group:
api: false
api_url: "https://localhost:8080"
api_auth: pam
api_username: saltuser
api_password: saltpassword

Is there some conflict with these options? or should I add some settings by hand? When I install foreman 1.12.3 there are ANSIBLE showed for me.

Actions

Also available in: Atom PDF