Skip to content

vbotka/ansible-linux-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linux_lib

quality Build Status GitHub 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

Ansible role. Library of tasks to configure Linux.

Resources

License

Stars

Watchers

Forks

Packages

No packages published