aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml
blob: 5cc9fd3acf1e1db243478c76560ebebe4ef70c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
# file: roles/aws/tasks/ubuntu_jammy.yaml

- name: Enable deb-src APT Repository
  ansible.builtin.apt_repository:
    repo: "deb-src http://archive.ubuntu.com/ubuntu jammy main"
    state: "present"
    update_cache: true
  tags:
    - aws-enable-src-repo

- name: Enable deb-src APT Repository Focal
  ansible.builtin.apt_repository:
    repo: "deb http://archive.ubuntu.com/ubuntu focal main"
    state: "present"
    update_cache: true
  tags:
    - aws-enable-src-repo

- name: Enable deb-src APT Repository Focal Src
  ansible.builtin.apt_repository:
    repo: "deb-src http://archive.ubuntu.com/ubuntu focal main"
    state: "present"
    update_cache: true
  tags:
    - aws-enable-src-repo

- name: Update Package Cache (APT)
  ansible.builtin.apt:
    update_cache: true
    cache_valid_time: 3600
  when:
    - ansible_distribution == 'Ubuntu'
  tags:
    - aws-enable-src-repo
lass="n">i = 0; i < n_iterations; i++) { uword r = results[n_results++]; if (!hash) hash = hash_create (0, /* value bytes */ 0); if (hash_get (hash, r)) goto repeat; hash_set1 (hash, r); if (n_results >= ARRAY_LEN (results)) { isaac (&ctx, results); n_results = 0; } if (verbose && 0 == (i & (print - 1))) fformat (stderr, "0x%08x iterations %d repeats\n", i, repeat_count); if (hash_elts (hash) > 0x100000) hash_free (hash); continue; repeat: fformat (stderr, "repeat found at iteration %d/%d\n", i, n_iterations); repeat_count++; continue; } return repeat_count > 0 ? 1 : 0; } #ifdef CLIB_UNIX int main (int argc, char *argv[]) { unformat_input_t i; int ret; clib_mem_init (0, 64ULL << 20); verbose = (argc > 1); unformat_init_command_line (&i, argv); ret = test_isaac_main (&i); unformat_free (&i); return ret; } #endif /* CLIB_UNIX */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */