Skip to content
Snippets Groups Projects
Select Git revision
  • master default
  • init_facts_module
2 results

ansible-modules

  • Clone with SSH
  • Clone with HTTPS
  • Adar Nimrod's avatar
    nimrod authored
    - Update pre-commit hooks.
    - Fix complaints from pre-commit.
    - Remove checks for the ldap_attr, I'm not going to check it.
    - Remove TravisCI (left the file for future reference).
    - Add note about project deprecation and replacement.
    - Add GitLab CI with pre-commit.
    2c33ed47
    History

    ansible-modules

    pipeline status

    A repository of Ansible modules.

    This project is deprecated. All of the modules in this repo have equivalents in the Ansible project making them obsolete. Right now the only tests that are done are linters with pre-commit.

    Installation

    To use these modules, add a git submodule under the library directory at the root of the playbooks directory

    mkdir library
    touch library/__init__.py
    git submodule add https://www.shore.co.il/git/ansible-modules library/shore master
    sudo pip install -r library/shore/requirements.txt

    To update the submodule

    git submodule update --remote library/shore

    Remember to commit .gitmodules!

    Modules

    • collectd_facts (use the package_facts module instead)
    • ldap_attr (has been accepted in to the Ansible project)
    • nginx_facts (use the package_facts module instead)
    • dhparams (use the openssl_dhparams module instead)

    Usage

    See example usage in the test playbooks under tests/.

    License

    This software is licensed under the AGPL v3+ license (see the LICENSE.txt file).

    Testing

    Modules are tested on Ubuntu Precise, Trusty and Xenial and Debian Wheezy, Jessie and Stretch with Ansible version 2.0.2.0, 2.1.6.0, 2.2.3.0 and 2.3.1.0. The tests require Tox and Docker. Pre-commit is also setup for this project.

    Author

    Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at: https://git.shore.co.il/explore/.

    TODO

    • Test installation and update instructions.