You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.7 KiB
1.7 KiB
Ansible Collection - msvsphere.ci
The MSVSphere OS CI/CD collection.
Roles
Documentation
All bundled roles have a corresponding README.md file located at
roles/ROLE_NAME/README.md
.
You can also use the ansible-doc
command, for example:
$ ansible-doc --type role postgresql_server
Development
Development environment configuration
You must use a specific directory layout
collections/ansible_collections/msvsphere/ci
to make molecule work.
For example:
$ mkdir -p ~/work/collections/ansible_collections/msvsphere/ci
$ git clone https://git.inferitos.ru/msvsphere/ansible-msvsphere.ci.git \
~/work/collections/ansible_collections/msvsphere/ci
In order to create and initialize a Python virtual environment run the following commands in the project root:
$ virtualenv .venv
$ . .venv/bin/activate
$ pip install -r requirements-devel.txt
Testing
Use the following commands to run molecule tests:
# run all available test scenarios
$ molecule test --all
# run the "postgresql_server-13" test scenario
$ molecule test -s postgresql_server-13
Releasing
Update changelog entries:
$ antsibull-changelog release
Build a release tarball:
$ ansible-galaxy collection build
License
MIT.