5.11 2009-01-12T10:41:00-05:00 PASS pass FAIL conditional fail oval:x:var:1 100 accepted 1.0 xccdf_test_profile This profile is for testing. test value foo 50 100 test value foo 50 100 Rule default1 to test ansible variable www_value_val1 - name: XCCDF Value www_value_val1 # promote to variable set_fact: www_value_val1: tags: - always - name: default1 lineinfile: dest: /foo/bar regexp: "^bar *[0-9]*" state: present line: "bar {{ www_value_val1 }}" tags: - foo - bar - name: XCCDF Value www_value_val3 # promote to variable set_fact: www_value_val3: "dummy value" tags: - always Rule default2 to test ansible variable www_value_val2 - name: XCCDF Value www_value_val2 # promote to variable set_fact: www_value_val2: tags: - always - name: default2 lineinfile: dest: /foo/baz regexp: "^baz *[0-9]*" state: present line: "baz {{ www_value_val2 }}" tags: - foo - baz