Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Prerequisites:
    • You must place id_rsa file as roles/kepler/files/id_rsa and roles/ual/files/id_rsa
    • The id_rsa file contains private key which allows passwordless login to ssh://git@git.iter.org 
  • External documentation: http://docs.ansible.com/ansible-container/ 
  • Steps:

    Code Block
    languagebash
    # git-clone the mainansible-container repo and make a small patch
    git clone https://github.com/ansible/ansible-container.git
    
    # create virtualenv with ansible-container
    virtualenv venv
    source venv/bin/activate
    pip install -e ansible-container
    
    # git-clone this repository and start the build
    git clone https://bitbucket.org/tzok/imas-container
    cd imas-container
    ansible-container --vars-files vars.yml build
    
    # once ready, save the image
    docker save imas-installer:latest | xz --threads=0 > imas-installer-latest.tar.xz