Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 612 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 612 Bytes

Overview

Setup repository for my cute servers.

How to use

# syntax test
$ ansible-playbook -i inventory/inventory.ini linux_init.yml --syntax-check

# exec test
$ ansible-playbook -i inventory/inventory.ini linux_init.yml --check

# lint
$ ansible-lint

# config check
$ ansible-config dump --changed-only

# exec
$ ansible-playbook -i inventory/inventory.ini linux_init.yml --diff

# step exec
$ ansible-playbook -i inventory/inventory.ini linux_init.yml --step

# docker exec
$ docker container run -it -v $(pwd):/tmp mp001 ansible --version

# linter
$ make ci ARG=${playbook_file_name}