vbotka.linux_lib

linux_lib

qualityBuild StatusGitHub tag

Ansible role. Ansible Linux library of tasks.

Feel free to share your feedback and report issues.

Contributions are welcome.

Description

Do not run this role. It's a collection of independent tasks. The purpose of this role is to provide a library of reusable tasks. Include them in playbooks and other roles.

Tested with Ubuntu Supported Releases.

Requirements

Collections

None.

Roles

None.

Variables

See defaults, vars, and source of the tasks.

Workflow

  1. Install the role
shell> ansible-galaxy role install vbotka.linux_lib
  1. Include or import a task from vbotka.linux_lib in a playbook, or in any other role. For example,
shell> cat test-linux-lib.yml
- hosts: host1
  tasks:
    - include_role:
        name: vbotka.linux_lib
    tasks_from: install_package.yml
      vars:
        ll_ipkg_list: [wpasupplicant, wpagui, net-tools, ifupdown, wireless-tools]
  1. Run the playbook
shell> ansible-playbook test-linux-lib.yml

Ansible lint

Use the configuration file .ansible-lint.local when running ansible-lint. Some rules might be disabled and some warnings might be ignored. See the notes in the configuration file.

shell> ansible-lint -c .ansible-lint.local

License

license

Author Information

Vladimir Botka

About

Library of tasks to configure Linux.

Install
ansible-galaxy install vbotka.linux_lib
GitHub repository
License
bsd-2-clause
Downloads
289