Sha256: 41bc6800c18a07abd207a27f9f5a11bcb8150c8b2f9395b8d5d4378dc5ff182b

Contents?: true

Size: 1.58 KB

Versions: 12

Compression:

Stored size: 1.58 KB

Contents

# tasks file for sysfs
---
- name: install
  apt:
    name: "{{ item }}"
    state: "{{ apt_install_state | default('latest') }}"
    update_cache: true
    cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}"
  with_items: "{{ sysfs_dependencies }}"
  tags:
    - configuration
    - sysfs
    - sysfs-install

- name: validate actions
  fail:
    msg: "Action {{ item.value.action }} is not supported"
  when: item.value.action is defined and item.value.action not in sysfs_actions_supported
  with_dict: "{{ sysfs_sysfs_d_files }}"
  tags:
    - configuration
    - sysfs
    - sysfs-validate

- name: create (configuration) directory
  file:
    path: /etc/sysfs.d
    state: directory
    owner: root
    group: root
    mode: 0755
  tags:
    - configuration
    - sysfs
    - sysfs-configuration
    - sysfs-configuration-sysfs-d
    - sysfs-configuration-sysfs-d-directory

- name: update specific configuration files
  template:
    src: etc/sysfs.d/sysfs.conf.j2
    dest: "/etc/sysfs.d/{{ item.key }}"
    owner: root
    group: root
    mode: 0644
  with_dict: "{{ sysfs_sysfs_d_files }}"
  notify: restart sysfsutils
  tags:
    - configuration
    - sysfs
    - sysfs-configuration
    - sysfs-configuration-sysfs-d
    - sysfs-configuration-sysfs-d-files

- name: update init script
  copy:
    src: etc/init.d/sysfsutils
    dest: /etc/init.d/sysfsutils
    owner: root
    group: root
    mode: 0755
  when: "{{ sysfs_uses_old_sysfsutils | bool == true }}"
  notify: restart sysfsutils
  tags:
    - configuration
    - sysfs
    - sysfs-configuration
    - sysfs-configuration-init

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
taperole-2.1.1 vendor/ansible-sysfs/tasks/main.yml
taperole-2.1.0 vendor/ansible-sysfs/tasks/main.yml
taperole-2.0.7 vendor/ansible-sysfs/tasks/main.yml
taperole-2.0.6 vendor/ansible-sysfs/tasks/main.yml
taperole-2.0.5 vendor/ansible-sysfs/tasks/main.yml
taperole-2.0.4 vendor/ansible-sysfs/tasks/main.yml
taperole-2.0.3 vendor/ansible-sysfs/tasks/main.yml
taperole-2.0.2 vendor/ansible-sysfs/tasks/main.yml
taperole-2.0.1 vendor/ansible-sysfs/tasks/main.yml
taperole-2.0.0 vendor/ansible-sysfs/tasks/main.yml
taperole-1.8.2 vendor/ansible-sysfs/tasks/main.yml
taperole-1.8.1 vendor/ansible-sysfs/tasks/main.yml