creatif-studio / ansible-anchore

Deploy Anchore Engine with ease using our Ansible playbook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible-anchore

Deploy and manage Anchore with ease using our Ansible playbook

Requirements

  • ansible
  • vagrant
  • virtualbox

How to run in local vm?

  • go to vagrant directory cd vagrant and vagrant up
  • run this command vagrant ssh-config > vagrant-ssh
  • cat the private key in this path IdentityFile
  • replace files/ssh.key with the value above
  • replace ip in ansible.host with 192.168.56.2
  • run ansible-playbook ansible.yml --tags "install-docker"
  • run ansible-playbook ansible.yml --tags "install-network"
  • run ansible-playbook ansible.yml --tags "install-anchore"

How to run in server?

  • replace ip in ansible.host with 192.168.56.2
  • change ansible_user in group_vars/global.yml with real user
  • replace ssh-key in files/ssh.key with real ssh key
  • optional: uncomment ansible_ssh_pass, ansible_sudo_pass and replace password with your password server
  • run ansible-playbook ansible.yml --tags "install-docker"
  • run ansible-playbook ansible.yml --tags "install-network"
  • run ansible-playbook ansible.yml --tags "install-anchore"

Contributing

If you'd like to contribute to this project, please follow these steps:

  1. Fork this repository.
  2. Create a branch for your changes.
  3. Make your changes and commit them to your branch.
  4. Push your branch to your forked repository.
  5. Open a pull request to merge your changes into the main repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Deploy Anchore Engine with ease using our Ansible playbook

License:MIT License


Languages

Language:Ruby 61.8%Language:Jinja 38.2%