config.yml 616 B

123456789101112131415161718192021
  1. ---
  2. - name: Install the systemd units
  3. import_tasks: systemd_units.yml
  4. - name: Configure Node Environment Variables
  5. lineinfile:
  6. dest: /etc/sysconfig/{{ openshift_service_type }}-node
  7. regexp: "^{{ item.key }}="
  8. line: "{{ item.key }}={{ item.value }}"
  9. create: true
  10. with_dict: "{{ openshift_node_env_vars }}"
  11. - name: Ensure the node static pod directory exists
  12. file:
  13. path: "{{ openshift.common.config_base }}/node/pods"
  14. state: directory
  15. mode: 0755
  16. - name: include aws provider credentials
  17. import_tasks: aws.yml
  18. when: not (openshift_node_use_instance_profiles | default(False))