# ansible-playbook -vvv -i <hostname>, -u root source-install-plugins.yml | |
--- | |
- hosts: all | |
vars: | |
ansible_python_interpreter: /usr/bin/python3 | |
pulp_source_dir: | |
- "https://github.com/pulp/pulpcore/tarball/{GITHUB_TAG_OR_REVISION}" | |
- psycopg2-binary | |
pulp_plugin_source_dir: "https://github.com/pulp/pulpcore-plugin/tarball/{GITHUB_TAG_OR_REVISION}" | |
pulp_secret_key: "unsafe_default" | |
pulp_default_admin_password: admin | |
pulp_pip_editable: no | |
pulp_install_plugins: | |
pulp-file: | |
app_label: "file" | |
source_dir: "https://github.com/pulp/pulp_file/tarball/{GITHUB_TAG_OR_REVISION}" | |
pulp-rpm: | |
app_label: "rpm" | |
source_dir: "https://github.com/pulp/pulp_rpm/tarball/{GITHUB_TAG_OR_REVISION}" | |
pulp-docker: | |
app_label: "docker" | |
source_dir: "https://github.com/pulp/pulp_docker/tarball/{GITHUB_TAG_OR_REVISION}" | |
pulp-certguard: | |
app_label: "certguard" | |
source_dir: "https://github.com/pulp/pulp-certguard/tarball/{GITHUB_TAG_OR_REVISION}" | |
pre_tasks: | |
- name: Install pulp rpm requirements | |
package: name={{item}} state=present | |
loop: | |
- gcc | |
- make | |
- cmake | |
- bzip2-devel | |
- expat-devel | |
- file-devel | |
- glib2-devel | |
- libcurl-devel | |
- libxml2-devel | |
- python3-devel | |
- rpm-devel | |
- openssl-devel | |
- sqlite-devel | |
- xz-devel | |
- zlib-devel | |
roles: | |
- pulp-database | |
- pulp-workers | |
- pulp-resource-manager | |
- pulp-webserver | |
- pulp-content | |
environment: | |
DJANGO_SETTINGS_MODULE: pulpcore.app.settings | |
post_tasks: | |
- name: Disable Firewalld | |
systemd: | |
name: firewalld | |
state: stopped | |
enabled: False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment