Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Deploy Anchore Engine with ease using our Ansible playbook

License

Notifications You must be signed in to change notification settings

creatif-studio/ansible-anchore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published