apt-cacher/server/tasks/main.yaml
changeset 144 267d58c0e186
parent 2 2556522a2a45
child 187 0f3a64c60ec5
equal deleted inserted replaced
143:7d4a477be685 144:267d58c0e186
     9   lineinfile:
     9   lineinfile:
    10     path: "/etc/apt-cacher-ng/acng.conf"
    10     path: "/etc/apt-cacher-ng/acng.conf"
    11     regexp: "^{{item.key}}:"
    11     regexp: "^{{item.key}}:"
    12     insertafter: "^# {{item.key}}:"
    12     insertafter: "^# {{item.key}}:"
    13     line: "{{item.key}}: {{item.val}}"
    13     line: "{{item.key}}: {{item.val}}"
    14   with_items:
    14   loop:
    15     - { key: "CacheDir", val: "{{apt_cacher_cache_dir}}" }
    15     - { key: "CacheDir", val: "{{apt_cacher_cache_dir}}" }
    16     - { key: "LogDir", val: "{{apt_cacher_log_dir}}" }
    16     - { key: "LogDir", val: "{{apt_cacher_log_dir}}" }
    17     - { key: "Port", val: "{{apt_cacher_port}}" }
    17     - { key: "Port", val: "{{apt_cacher_port}}" }