Created
April 28, 2020 17:11
-
-
Save sshnaidm/b0b1781b663831dd6035a16209e8a760 to your computer and use it in GitHub Desktop.
tripleo-container-image playbook.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run this command to make tripleo image | |
# sudo buildah --name mycontainer from centos:8 | |
# sudo ansible-playbook -i mycontainer, -c buildah playbook.yml | |
# sudo buildah commit --cmd '/bin/bash' mycontainer centos-tripleo-image | |
--- | |
- hosts: mycontainer | |
connection: buildah | |
tasks: | |
- name: Install pip | |
package: | |
name: python3-pip | |
- name: Install tripleo-repos | |
pip: | |
name: tripleo-repos | |
extra_args: --user | |
- name: Configure master dev repos | |
shell: ~/.local/bin/tripleo-repos -b master -o /etc/yum.repos.d -d centos8 current-tripleo-dev | |
- name: Install TripleO client | |
package: | |
name: python*-tripleoclient |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment